#pragma once
extern "C" {
#include "lua/lua.h"
#include "lua/lualib.h"
#include "lua/lauxlib.h"
}
#include <memory>
class Server
{
private:
    bool m_stop;
public:
    Server(/* args */);
    ~Server();
    void testlua();
    void init();
    void run();
    void exit();

private:
    void read_input();
    void handle_msg();
    lua_State* m_State;
};



